
# import os
# from django_redis import get_redis_connection
# import django
#
#
# # 设置环境变量
# profile = os.environ.get('APP_PROFILE', 'develop')
# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'zfapple.settings.%s' % profile)
# django.setup()
#
# conn = get_redis_connection('default')
# keys = conn.lrange('history_python', 0, 10)
# print(keys)
#
#
# x = 'abc'
# if x:
#     print('a')
# else:
#     print('b')